ae82bd533f45e3ee99d57cb45174ef82867dfd73,codeInsight/impl/com/intellij/codeInsight/hint/ShowParameterInfoHandler.java,ShowParameterInfoHandler,invoke,#Project#Editor#PsiFile#number#PsiMethod#,35

Before Change



    PsiAnnotation annotation = ParameterInfoController.findParentOfType(file, offset, PsiAnnotation.class);
    if (annotation != null) {
      final PsiElement resolved = annotation.getNameReferenceElement().resolve();
      if (resolved instanceof PsiClass && ((PsiClass)resolved).isAnnotationType()) {
        final PsiAnnotationMethod method = ParameterInfoController.findAnnotationMethod(file, offset);
        showAnnotationMethodsInfo(project, editor, annotation, method);

After Change



    PsiAnnotation annotation = ParameterInfoController.findParentOfType(file, offset, PsiAnnotation.class);
    if (annotation != null) {
      final PsiJavaCodeReferenceElement nameReference = annotation.getNameReferenceElement();
      if (nameReference != null) {
        final PsiElement resolved = nameReference.resolve();
        if (resolved instanceof PsiClass) {
          final PsiClass aClass = (PsiClass)resolved;
          if (aClass.isAnnotationType()) {